package com.aiti.myproject.client.service;

import java.util.List;

import com.aiti.myproject.shared.Tag;
import com.aiti.myproject.shared.UploadImage;
import com.google.gwt.user.client.rpc.AsyncCallback;

public interface UserImageServiceAsync {

	void deleteImage(String key, AsyncCallback<Void> callback);

	void get(String key, AsyncCallback<UploadImage> callback);

	void getBlobstoreUploadUrl(AsyncCallback<String> callback);

	void getRecentlyUploaded(AsyncCallback<List<UploadImage>> callback);

	void tagImage(Tag tag, AsyncCallback<String> callback);

	void getTagsForImage(UploadImage image, AsyncCallback<List<Tag>> callback);

}
